﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Acme.BookStore.Creditor
{
    /// <summary>
    /// 贷主合同
    /// </summary>
    public class CreditorInfos
    {
        [Required]
        public int CreditoNumber { get; set; }
        [Required]
        public string CreditoTitle { get; set; }
        [Required]
        public string CreditoRow { get; set; }
        [Required]
        public int CreditoPrix { get; set; }
        [Required]
        public int CreditoBiz { get; set; }
        [Required]
        public int CreditoBmoney { get; set; }
        [Required]
        public int CreditoMoney { get; set; }
        [Required]
        public string CreditoNow { get; set; }
        [Required]
        public string CreditoTerm { get; set; }
        [Required]
        public DateTime CreditoQtime { get; set; }
        [Required]
        public DateTime CreditoTime { get; set; }
        [Required]
        public string CreditoRove { get; set; }
        [Required]
        public string CreditoRoveRemark { get; set; }
        [Required]
        public string FileYId { get; set; }
        [Required]
        public string CompanyYid { get; set; }
        [Required]
        public string ManagementYid { get; set; }
        [Required]
        public string UserYid { get; set; }
        [Required]
        public string EnumSid { get; set; }
        [NotMapped]
        //枚举
        public int OwnerType { get; set; }
        [NotMapped]
        //公司名称
        public string CompanyName { get; set; }
        [NotMapped]
        //操作员
        public string UserName { get; set; }
        [NotMapped]
        //路线
        public string ManagementName { get; set; }
        [NotMapped]
        //上传文件
        public string FileName { get; set; }
    }
}
